<?php


class fegxValidatorFile extends sfValidatorFile
{
  protected function configure($options = array(), $messages = array())
  {
    parent::configure($options, $messages);
    
    // redefine the mime_categories option
    $this->setOption('mime_categories', array(
      'upload_files' => array(
        'application/pdf',
        'application/x-pdf'
      ))
    );
  }
}
?> 
